<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="root"></div>
<script src="../../javascript/react.development.js"></script>
<script src="../../javascript/react-dom.development.js"></script>
<script src="../../javascript/babel.min.js"></script>

<script type="text/babel">
    // 使用JSX语法创建一虚拟DOM
    const vdom = <h1>hello-jsx</h1>
    console.log(vdom)
    ReactDOM.render(vdom, document.querySelector("#root"))
</script>
</body>
</html>